package com.example.utils;

import lombok.Getter;

/**
 * 业务异常
 */
@Getter
public class BaseException extends RuntimeException {
    private  Integer code;
    public BaseException() {
    }

    public BaseException(String msg,Integer code) {
        super(msg);
        this.code=code;
    }
}
